/*
 * @Date: 2023-05-25 12:07:11
 * @LastEditors: Penn.ji
 * @LastEditTime: 2024-05-29 21:20:04
 * @FilePath: \chrome-tools\mini-toolbox-gitee\src\router\components.ts
 */
import {RouteRecordRaw} from "vue-router";
/* -- 组件路由 -- */
const components: Array<RouteRecordRaw> = [
    {
        path: '/PicBed',
        name: 'PicBed',
        meta: {
            isInside: true,
            cnName: '图床',
            desc: '一个基于minio的图床工具，可以快速的获取图片或者文件的在线地址，一般用于本地化文档编写时辅助使用（如md等）。'
        },
        component: () => import(/* webpackChunkName: "PicBed" */ 'views/models/pic-bed/index.vue')
    },
    {
        path: '/companyApps',
        name: 'companyApps',
        meta: {
            isInside: true,
            cnName: 'EIP',
            desc: '我是公司内部应用集合，方便快速打开公司网站~'
        },
        component: () => import(/* webpackChunkName: "companyApps" */ 'views/models/company-apps/index.vue')
    },
    {
        path: '/TextToImage',
        name: 'Text2Image',
        meta: {
            isInside: true,
            cnName: '文转图',
            desc: '我是一个文字转图片的工具'
        },
        component: () => import(/* webpackChunkName: "companyApps" */ 'views/models/text-to-image/index.vue')
    },
    {
        path: '/ColorPicker',
        name: 'ColorPicker',
        meta: {
            isInside: false,
            cnName: '取色器',
            desc: '一个超级轻量的浏览器全局取色器, 可以快速的全局取色~'
        },
        component: () => import(/* webpackChunkName: "ColorPicker" */ 'views/models/color-picker/index.vue')
    },
    // {
    //     path: '/chat',
    //     name: 'chat',
    //     meta: {
    //         desc: '测试chat聊天内置'
    //     },
    //     component: () => import(/* webpackChunkName: "chat" */ 'views/models/chat/index.vue')
    // },
    {
        path: '/translation',
        name: 'translation',
        meta: {
            isInside: false,
            cnName: '翻译',
            desc: '我是一个超级轻量的中英文翻译工具~'
        },
        component: () => import(/* webpackChunkName: "translation" */ 'views/models/translation/index.vue')
    },
    {
        path: '/weather',
        name: 'weather',
        meta: {
            isInside: false,
            cnName: '查天气',
            desc: '我是一个快速查天气的小工具~'
        },
        component: () => import(/* webpackChunkName: "weather" */ 'views/models/weather/index.vue')
    },
    {
        path: '/oilPrice',
        name: 'oilPrice',
        meta: {
            isInside: false,
            cnName: '查油价',
            desc: '我是一个快速查今日油价的小工具~'
        },
        component: () => import(/* webpackChunkName: "oilPrice" */ 'views/models/oil-price/index.vue')
    },
    {
        path: '/qCode',
        name: 'qCode',
        meta: {
            isInside: false,
            cnName: '二维码',
            url: 'https://cli.im/',
            desc: '我是一个二维码生成的小工具~'
        },
        component: () => import(/* webpackChunkName: "qCode" */ 'views/blank.vue')
    },
    {
        path: '/SearchImage',
        name: 'SearchImage',
        meta: {
            isInside: false,
            cnName: '搜图',
            desc: '我可以根据关键字搜索百度图片，返回搜索到的结果~'
        },
        component: () => import(/* webpackChunkName: "SearchImage" */ 'views/models/search-image/index.vue')
    }
    // {
    //     path: '/bookmarks',
    //     name: 'bookmarks',
    //     meta: {
    //         url: 'chrome://bookmarks/',
    //         desc: '快速前往chrome书签~'
    //     },
    //     component: () => import(/* webpackChunkName: "bookmarks" */ 'views/blank.vue')
    // }
]
export default components
